/*
 * @Author: EuniceShaw
 * @Date: 2022-03-25 20:54:50
 * @LastEditors: EuniceShaw
 * @LastEditTime: 2022-03-25 21:02:26
 * @Description: 路由meta对象类型处理
 *
 */

import { RouteRecordRaw, RouteMeta } from 'vue-router';

// router的meta类型
type ItemRouterMeta = RouteMeta & {
  icon: string;
  title: string;
};

// 菜单menu路由类型
export type MenuItemRouter = RouteRecordRaw & {
  meta: ItemRouterMeta;
};
